package com.yxinsur.imc.business.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yxinsur.imc.business.domain.ImcSupplierExpense;
import com.yxinsur.imc.business.form.SupplierExpenseForm;
import com.yxinsur.imc.business.vo.ImcSupplierExpenseVo;
import com.yxinsur.imc.common.core.domain.AjaxResult;

import java.util.List;

/**
 * 供应商-费用科目Service接口
 *
 * @author imc
 * @date 2021-07-29
 */
public interface IImcSupplierExpenseService extends IService<ImcSupplierExpense> {
    /**
     * 供应商费用科目-查询列表
     *
     * @param supplierExpenseForm SupplierExpenseForm
     * @return List<ImcSupplierExpenseVo>
     */
    List<ImcSupplierExpenseVo> selectImcSupplierExpenseList(SupplierExpenseForm supplierExpenseForm);

    /**
     * 供应商费用科目-查询详情
     *
     * @param id 供应商-费用科目id
     * @return 供应商-费用科目
     */
    ImcSupplierExpenseVo selectImcSupplierExpenseById(Long id);

    /**
     * 供应商费用科目-新增
     *
     * @param supplierExpenseForm 供应商费用科目
     * @return 结果
     */
    AjaxResult insertImcSupplierExpense(SupplierExpenseForm supplierExpenseForm);

    /**
     * 供应商费用科目-修改
     *
     * @param supplierExpenseForm 供应商费用科目
     * @return 结果
     */
    AjaxResult updateImcSupplierExpense(SupplierExpenseForm supplierExpenseForm);

    /**
     * 删除供应商-费用科目信息
     *
     * @param id 供应商-费用科目ID
     * @return 结果
     */
    int deleteImcSupplierExpenseById(String id);
}
